// vite.config.js
import { defineConfig } from "file:///C:/Users/86158/Desktop/%E6%8A%96%E9%9F%B3-v3-vite/node_modules/.pnpm/vite@5.0.11_sass@1.69.7/node_modules/vite/dist/node/index.js";
import postCssPxToRem from "file:///C:/Users/86158/Desktop/%E6%8A%96%E9%9F%B3-v3-vite/node_modules/.pnpm/postcss-pxtorem@6.0.0_postcss@8.4.33/node_modules/postcss-pxtorem/index.js";
import vue from "file:///C:/Users/86158/Desktop/%E6%8A%96%E9%9F%B3-v3-vite/node_modules/.pnpm/@vitejs+plugin-vue@4.6.2_vite@5.0.11_vue@3.4.14/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import eslintPlugin from "file:///C:/Users/86158/Desktop/%E6%8A%96%E9%9F%B3-v3-vite/node_modules/.pnpm/vite-plugin-eslint@1.8.1_eslint@8.56.0_vite@5.0.11/node_modules/vite-plugin-eslint/dist/index.mjs";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    eslintPlugin({
      fix: true,
      //修复错误
      include: [
        "src/**/*.vue",
        "src/**/*.ts",
        "src/**/*.js"
      ]
    })
  ],
  css: {
    postcss: {
      plugins: [
        postCssPxToRem({
          rootValue: 39,
          // 1rem，根据 设计稿宽度/10 进行设置
          propList: ["*"]
          // 需要转换的属性，这里选择全部都进行转换
        })
      ]
    }
  },
  server: {
    host: "127.0.0.1",
    port: 3e3,
    proxy: {
      "/api": {
        target: "http://43.138.15.137:3000",
        //实际请求地址
        changeOrigin: true,
        // 是否改变请求源
        rewrite: (path) => path.replace(/^\/api/, "api")
        // 路径重写
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFw4NjE1OFxcXFxEZXNrdG9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